﻿<%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="CarBookingDetails.aspx.cs"
    Inherits="CarBookingDetails" Title="Untitled Page" %>

<asp:Content ID="Content2" ContentPlaceHolderID="pnlLeftColumn" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pnlMain" runat="Server">
    <table width="100%">
        <col width="450px" />
        <col width="200px" />
        <tr>
            <td style="vertical-align: top; border: solid 2px #3e7a21; padding-left: 10px;">
                <table width="100%">
                    <tr>
                        <td align="left">
                            <b>Your Journey Details:</b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <table width="100%">
                                <col width="144" />
                                <tr>
                                    <td>
                                        <asp:Image ID="imgVehicleImage" Width="143" Height="83" runat="server" />
                                    </td>
                                    <td valign="top" style="padding-left: 10px;">
                                        <asp:Label ID="lblVehicleCatDesc" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Booking Duration:</b>&nbsp;<asp:Label ID="lblTripDuration" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Pickup:</b>
                            <asp:Label ID="lblPickUpLocation" runat="server" Text=""></asp:Label>
                            ||
                            <asp:Label ID="lblStartDayDate" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Return:</b>
                            <asp:Label ID="lblReturnLocation" runat="server" Text=""></asp:Label>
                            ||
                            <asp:Label ID="lblEndDayDate" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Image ID="imgPassengerCapacity" ImageUrl="~/Images/passanger.png" runat="server" />
                            <asp:Label ID="lblAdultCapacity" runat="server" Text=""></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Image ID="imgLuggageCapacity" ImageUrl="~/Images/luggage.png" runat="server" />
                            <asp:Label ID="lblLuggageCapacity" runat="server" Text=""></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Image ID="imgNoOfDoors" ImageUrl="~/Images/Door.jpg" runat="server" />
                            <asp:Label ID="lblNoOfDoors" runat="server" Text=""></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Image ID="imgTransimission" runat="server" Height="20" Width="20" />
                            <asp:Label ID="lblTransimission" runat="server" Text=""></asp:Label>&nbsp;&nbsp;&nbsp;
                            <asp:Image ID="imgAirConditioner" ImageUrl="~/Images/AC.jpg" runat="server" />
                            <asp:Label ID="lblAirConditioner" runat="server" Text=""></asp:Label>&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr id="trPayOnArrival" runat="server" >
                        <td>
                            <asp:CheckBox ID="chkPayOnArrival" runat="server" Text="Pay On Arrival" 
                                AutoPostBack="True" oncheckedchanged="chkPayOnArrival_CheckedChanged" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Travel tension free by adding insurance</b><br /><br />
                            Our insurance provides you with total reimbursement insurance against any physical
                            damage, fire or theft excess charges you may incur during your rental, which can
                            be as high as £600. If you purchase our insurance you do not need to buy any additional
                            excess protection insurance that the rental supplier may offer you.
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="chkInsurance" runat="server" Text="Add insurance to your booking"
                                AutoPostBack="True" OnCheckedChanged="chkInsurance_CheckedChanged" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr id="trNavigator" runat="server">
                        <td>
                            <asp:CheckBox ID="chkNavigator" runat="server" Text="Include GPS navigation system"
                                AutoPostBack="True" OnCheckedChanged="chkNavigator_CheckedChanged" />
                        </td>
                    </tr>
                    <tr id="trNavOptions" runat="server" >
                        <td>
                            <asp:RadioButtonList ID="rblNavOptions" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="rblNavOptions_SelectedIndexChanged" 
                                RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="PERDAY">Per Day</asp:ListItem>
                                <asp:ListItem Value="LUMPSUM">Lumpsum</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:ImageButton ID="btnBookNow" runat="server" ImageUrl="/Images/Booknow_Green.png"
                                OnClick="btnBookNow_Click" />
                        </td>
                    </tr>
                </table>
            </td>
            <td style="vertical-align: top; border: solid 2px #3e7a21; padding-left: 10px;">
                <table width="100%">
                    <tr>
                        <td align="left" colspan="2">
                            <b>Payable Cost Now:</b>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr id="trPayNowRentCost" runat="server" >
                        <td class="bookingPriceLabel">
                            Rental Cost:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblRentalCost" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="bookingPriceLabel">
                            Booking fees:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblBookingFees" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr id="trInsuranceCost" runat="server">
                        <td class="bookingPriceLabel">
                            Insurance Cost:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblInsuranceCost" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr id="trNavigatorCost" runat="server">
                        <td class="bookingPriceLabel">
                            GPS Cost:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblNavigatorCost" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <hr style="border: solid 1px #3e7a21;" />
                        </td>
                    </tr>
                    <tr>
                        <td class="bookingPriceLabel">
                            Total Cost:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblTotalBookingCost" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr id="trPayOnArrivalHead" runat="server">
                        <td align="left" colspan="2">
                            <b>Payable On Arrival</b>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr id="trPayOnArrivalRentCost" runat="server" >
                        <td class="bookingPriceLabel">
                            Rental Cost:
                        </td>
                        <td align="right">
                            £<asp:Label ID="lblPayOnArrivalRentCost" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
